package com.list;

import java.util.Collections;
import java.util.List;
import java.util.Vector;

/**
 * legacy 
 * @author Administrator
 *
 */
public class list2VectorCls {
	public static void main(String[] args) {
		List list = new Vector();
		list.add("e");
		list.add("m");
		for(int i=0;i<100;i++){
			list.add(Integer.valueOf(i));
		}
	 
		print("List:"+list);
		Collections.reverse(list);
		print("reList:"+list);
		
	}

	private static void print(Object obj) {
		System.out.println(obj);
	}
}
